home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000226_news@newsmaster….columbia.edu _Fri Feb 13 17:05:30 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA17713
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 13 Feb 1998 17:05:29 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA22031
  7.     for kermit.misc@watsun; Fri, 13 Feb 1998 17:05:28 -0500 (EST)
  8. Path: news.columbia.edu!news.cs.columbia.edu!psinntp!howland.erols.net!news.maxwell.syr.edu!rill.news.pipex.net!pipex!main.de.uu.net!news.sni.de!news.siemens.de!news.mch.sni.de!michel
  9. From: Michel.Dalle@sni.be (Michel Dalle)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Catching 'send' errors in a script ?
  12. Date: Fri, 13 Feb 1998 17:43:54 GMT
  13. Organization: Siemens Nixdorf
  14. Lines: 22
  15. Message-ID: <6c1per$3an$1@horus.mch.sni.de>
  16. NNTP-Posting-Host: michel.ch.sni.be
  17. X-Newsreader: News Xpress 2.01
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8412
  19.  
  20. Hi,
  21.  
  22. I've been testing Kermit 95 on Windows 95 recently and got stuck on the 
  23. following stupid problem : catching an error message generated during a 'send' 
  24. command.
  25.  
  26. Basically, I'm trying to automatically send files from the PC to a C-Kermit 
  27. program running on a UNIX system (via LAN). When I do a 'kill' of the C-Kermit 
  28. process on the UNIX (for tests), I either get a "User typed ^C" message on the 
  29. PC screen, or (after a long timeout) a "Too many retries" message.
  30.  
  31. In both cases, my script correctly receives a 'failure' and the Transaction 
  32. log shows a line containing "Protocol Error: ...", but I never manage to catch 
  33. that error message in the script itself.
  34.  
  35. I've tried writing the 'errstring' variable to file, and even the 'input' 
  36. variable, but neither contains that error message. In which variable is that 
  37. error message stored then ?
  38.  
  39. Thanks,
  40.  
  41. Michel.